<div id="menu_r_div" class="app-menu-r">
    <ul class="am-list">
        <li>
            <a onclick="menu_r_close();act_back();">
                <i class="am-icon-arrow-circle-o-left am-icon-fw"></i>
                <span>返回上一页</span>
            </a>
        </li>
        <?php if (isset($_SESSION['user_id'])) {  //仅登陆后可操作 ?>
            <li>
                <a
                        data-forward="controller=message&msg_send_type=0&msg_private_edit_view=1"
                        onclick="menu_r_close();act_content(this);"
                >
                    <i class="am-icon-send am-icon-fw"></i>
                    <span>发送私信</span>
                </a>
            </li>
        <?php }//if(isset($_SESSION['user_id'])) 结束?>
    </ul>
</div>